sizerequest: Don't pass uninitialized values to measure
authorTimm Bäder <mail@baedert.org>
Sat, 28 Oct 2017 09:37:13 +0000 (11:37 +0200)
committerTimm Bäder <mail@baedert.org>
Sat, 28 Oct 2017 09:42:08 +0000 (11:42 +0200)
commit4dee08dd52aac551d4e0303a56902c9179a6efa4
treeaad39313815a8eb0c5123f5f87cfe9ee4aa7a659
parent559d32420c21a5888d0cc37169157e91780b6c9d
sizerequest: Don't pass uninitialized values to measure

The GtkWidgetClass::measure vfunc is not required to assign a value to
any of the (out) parameters, so we need to initialize the locals we pass
to it, otherwise we can end up with a garbage size request.
gtk/gtksizerequest.c